import React, { Component } from 'react';

class NavBar extends Component {
  render() {
    const { leftSlot, CenterSlot, rightSlot } = this.props
    return (
      <div className="nav-bar">
        <div className="item left">{leftSlot}</div>
        <div className="item center">{CenterSlot}</div>
        <div className="item right">{rightSlot}</div>
      </div>
    );
  }
}

NavBar.propTypes = {

};

export default NavBar;